# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-sqlalchemy-utc
_pkgname=SQLAlchemy-Utc
pkgver=0.14.0
pkgrel=6
pkgdesc='SQLAlchemy type to store aware datetime values.'
arch=('any')
url='https://pypi.org/project/sqlalchemy-utc/#files'
depends=('python' 'python-setuptools' 'python-sqlalchemy')
makedepends=('python-setuptools')
license=('MIT')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/SQLAlchemy-Utc-$pkgver.tar.gz")
sha512sums=('b6c59d900ff64e66f73e8ec6672bbb3b186fbb9f0afe0a0fca172c95d98ced17b5537cb5957e9b5d01184eaf6c67af3d4631e61212a8721b5a89cb2addb191d6')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

